using Newtonsoft.Json;
using System;

namespace Pay.TO {
	/// <summary>
	/// 令牌信息
	/// </summary>
	[Serializable]
	[JsonObject(MemberSerialization.OptOut)]
	public class token_info {
		/// <summary>
		/// id
		/// </summary>
		[JsonIgnore]
		public string id { get; set; }
		/// <summary>
		/// 用户id
		/// </summary>
		[JsonIgnore]
		public long user_id { get; set; }
		/// <summary>
		/// 令牌
		/// </summary>
		public string access_token { get; set; }
		/// <summary>
		/// 过期具体时间
		/// </summary>
		public DateTime expires_date { get; set; }
		/// <summary>
		/// 过期时间，以秒为单位
		/// </summary>
		[JsonIgnore]
		public int expires_in { get; set; }
	}
    
}